package org.kealinghornets.nxtdroid;

import org.kealinghornets.nxtdroid.NXT.NXTThread;

/**
 * Created by chuah on 12/4/14.
 */
public class My4rd extends NXTThread {
    public My4rd() { setNXTThreadName("ice cream"); }
public void run() {
    runMotor(PORT_A);
    wait(500);
    stopMotor(PORT_A);
    wait(500);
    runMotor(PORT_B);
    runMotor(PORT_A);
    wait(20000);
    stopMotor(PORT_B);
    stopMotor(PORT_A);
    wait(500);
    runMotor(PORT_B);
    wait(500);
    stopMotor(PORT_B);
    wait(300);
    runMotor(PORT_A);
    runMotor(PORT_B);
    wait(10000);
    stopMotor(PORT_B);
    stopMotor(PORT_A);
    wait(10000);
    reset();
}

}
